//
//  LTMessageVoiceBody.h
//  LTIM
//
//  Created by 俊松何 on 2017/4/11.
//  Copyright © 2017年 俊松何. All rights reserved.
//

#import "LTMessageBody.h"

@interface LTMessageVoiceBody : LTMessageBody

@property (nonatomic, copy) NSString *displayName;

@property (nonatomic, copy) NSString *localPath;

@property (nonatomic, copy) NSString *remotePath;

@property (nonatomic) long long fileLength;

@property (nonatomic) NSInteger duration;

@property (nonatomic, copy) NSString *relativelocalPath;

@property (nonatomic, assign) BOOL isPlayed;

@property (nonatomic) LTDownloadStatus downloadStatus;

@property (nonatomic, strong) LTFileTokenModel *ossModel;

- (instancetype)initWithData:(NSData *)aData
                    duration:(NSInteger)duration;


-(void)saveData:(NSData *)data;
@end
